# Italic
snippet i "description" w
*${1:italic}* 
endsnippet

# Bold
snippet b "description" w
**${1:bold}**
endsnippet

# Bold and Italic
snippet bi "description" w
***${1:bold&italic}*** 
endsnippet

# 下划线
snippet u "description" w
<u>${1:underline}</u>
endsnippet

# 删除线
snippet d "description" w
~~${1:delete}~~
endsnippet

# 按键元素
snippet k "description" w
<kbd>${1:keyboard}</kbd>
endsnippet

# 对齐文本
snippet al "description" w
<p align="${1:center}">$2</p>
endsnippet

# 图片元素
snippet im "description" w
![${1:LinkName}](${2:images/})
endsnippet

# 对齐的图片元素
snippet ima "description" w
<img align="${1:right}" src="${2:https://}"></img>

endsnippet

# 链接元素
snippet lk "description" w
[${1:LinkName}](${2:https://})
endsnippet

# 分割线
snippet sp "description" w
* * * * * * * * * *

endsnippet

# 代码块
snippet cd "description" w
\`\`\`${1}
$2
\`\`\`
endsnippet

# LATEX公式块
snippet tx "description" w
$$
${1}
$$
endsnippet

# 在GitHub上插入公式，斜杠用\\
snippet tx1 "description" w
![](http://latex.codecogs.com/gif.latex?${1})
endsnippet

# github自己的api，速度要慢一点
snippet tx2 "description" w
![]https://render.githubusercontent.com/render/math?math=${1})
endsnippet

# 任务
snippet ts "description" w
- [ ${1}] $2
endsnippet

# 折叠区块
snippet fd "description" w
<details>
    <summary><b>${1:Title}</b></summary>

${2:Context}
</details>
endsnippet

# 用于代码块的折叠区块
snippet fdc "description" w
<details>
    <summary><b>${1:Title}</b></summary>

\`\`\`$2
$3
\`\`\`
</details>
endsnippet

# 设置跳转锚点
snippet jp "description" w
<span id="${1:jump}"></span>
endsnippet

# 鼠标悬停回显，且单独一行
snippet eh "description" w
<div title="${1:echo content}">${2:content outside}</div>
endsnippet

# 鼠标悬停回显，且有高亮
snippet eh1 "description" w
<a href=## title="${1:echo content}">[注]</a>
endsnippet

# see begin
snippet <
<!-- entry begin: $1 -->
endsnippet

# see end
snippet >
<!-- entry end -->
endsnippet

snippet br
\left\\lbrace
\begin{array}{l}
$1
\end{array}
\right.
endsnippet
